package com.sunwayworld.basemodule.rm.environment.resource;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sunwayworld.basemodule.rm.environment.bean.LimsEnvironmentDataBean;
import com.sunwayworld.basemodule.rm.environment.service.LimsEnvironmentDataService;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import com.sunwayworld.framework.support.choosable.resource.GenericChoosableResource;

@RequestMapping("/secure/basemodule/rm/environment-datas")
public interface LimsEnvironmentDataResource extends GenericResource<LimsEnvironmentDataService, LimsEnvironmentDataBean, Long>, GenericChoosableResource<LimsEnvironmentDataService, LimsEnvironmentDataBean, Long> {

    @PostMapping("/change/status")
    JSONObject changeStatus(RestJsonWrapperBean jsonWrapperBean);
}
